Skip to main content

Get Comments

AutomatR.Jira.Activities.GetComments

The "Get Comments" activity in AutomatR's Jira package utilizes the Jira API to retrieve all comments associated with a specific issue. This activity is useful for fetching and processing comment data within Jira for enhanced automation workflows.

Properties

NameDescription
Input
Ticket IDEnter the Ticket ID of the Jira issue for which all comments need to be fetched. String variables containing the Ticket ID.
Ticket KeyEnter the Ticket Key of the Jira issue for which all comments need to be fetched. String variables containing the Ticket Key.
Misc
Display NameThe display name of the activity. This field supports only strings or String variables.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get Comments" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs an object containing details about all comments associated with the specified Jira issue. Variables of relevant types (e.g., dynamic variables) to store comment details.

How to use:

  1. Drag and drop the "Get Comments" activity onto the workflow.
  2. Configure the properties by specifying the Ticket ID or Ticket Key.
  3. Optionally, configure the delay.
  4. Execute the workflow to retrieve details about all comments within the specified Jira issue.

Example: Consider an example where the "Get Comments" activity is used to retrieve all comments associated with a Jira issue:

Get Comments:
Ticket ID: "JIRA-123"
Result: allComments

In this example, the activity fetches details about all comments associated with the Jira issue "JIRA-123". The result, which includes details about all comments, is stored in the dynamic variable "allComments" for further handling in the workflow.